package com.lln.cjcx.service;

import com.lln.cjcx.pojo.Message;
import com.lln.cjcx.pojo.MyOkHttpClient;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.springframework.stereotype.Service;

/**
 * @author LiLinnan
 * @version 1.0
 * @date 2020/1/14 20:27
 */


@Service public abstract class LoginService extends Service_m implements Service_i{
	public LoginService(){super();}

	/**
	 * 进行登录
	 *
	 * @param myOkHttpClient 用户客户端
	 * @param studentNumber  学号
	 * @param password       密码
	 * @param captcha        验证码
	 * @return 一条消息
	 */
	public abstract Message login(@NotNull MyOkHttpClient myOkHttpClient,@Nullable String studentNumber,@Nullable String password,@Nullable String captcha);
}
